//
//  ValidNumber.h
//  JFTwxsd
//
//  Created by junfeiweiye on 2018/2/6.
//  Copyright © 2018年 junfeiweiyejiaoyujituan. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ValidNumber : NSObject
/*
 *  判断输入的是否是手机号
 */
+ (BOOL)isValidPhoneNumber:(NSString *)mobileNum;
/*
 *  判断输入的位身份证格式和合法性是否正确
 */
+ (BOOL)isValidCardNumber:(NSString *)identityCard;

//正则匹配用户密码6-18位数字和字母组合
+ (BOOL)checkPassword:(NSString *) password;

//MD5加密
+ (NSString *) md5:(NSString *)passMD5;

@end
